<?php 
//
$input_menu_lich = array(
		'name' => 'menu_lich',
		'autofocus' => 'TRUE',
		'value' => $this->input->post()?set_value('menu_lich'):$lich->ten_lich,
		'class' => 'styleinput'
);
$input_order_lich = array(
		'name' => 'order_lich',
		'value' => $this->input->post()?set_value('order_lich'):$lich->order_lich,
		'class' => 'styleinput'
);

$button = array(
		'name' => 'button',
	    'id' => 'button',
	    'value' => 'true',
	    'type' => 'submit',
	    'content' => 'Sửa lịch',
		'class' => 'stylebutton'
);
echo "<div class='content'> ";
echo "<h2>Thêm lịch</h2>";
echo form_open("danhsachlich/edit/".$lich->id_danhsachlich);
echo form_label('Tên lịch làm việc',"",array('class'=>'stylelabel'))."</br>";
echo form_input($input_menu_lich).form_error('menu_lich')."</br>";

echo form_label('Sắp xếp',"",array('class'=>'stylelabel'))."</br>";
echo form_input($input_order_lich).form_error('order_lich')."</br>";

echo form_button($button);

echo form_close();
echo '<div style="clear:both"></div></div></div>';
?>